package com.demo.spring.formework.bean;

/**
 * spring中真正的容器
 */
public class QBBeanWrapper {

    private Object wrappedInstance;
    private Class<?> wrappedClass;

    public QBBeanWrapper(Object wrappedInstance) {
        this.wrappedInstance = wrappedInstance;
    }

    public Object getWrappedInstance(){
        return this.wrappedInstance;
    }

    public Object getWrappedClass(){
        wrappedClass = this.wrappedInstance.getClass();
        return wrappedClass;
    }

}
